package templateMethod;

/**
 * @author 帅小伙
 * @date 2021/12/23
 * @description
 */
public class Truck extends Car {
    @Override
    public void start() {
        System.out.println("卡车启动喽");
    }

    @Override
    public void stop() {
        System.out.println("卡车停止咯");
    }



    @Override
    void doMoreWork() {
        System.out.println("还要做一些事情");
    }

    @Override
    boolean hook() {
        return false;
    }
}